/*
 * @Author: Deven
 * @Email: liming@tuya.com
 * @LastEditors: Please set LastEditors
 * @FileName: &file name&
 * @Description: 
 * @Copyright: HANGZHOU TUYA INFORMATION TECHNOLOGY CO.,LTD
 * @Company: http://www.tuya.com
 * @Date: 2020-11-07 17:16:29
 * @LastEditTime: 2021-06-12 15:24:46
 */

#ifndef _RF_TMR_H__
#define _RF_TMR_H__


#include "tkl_system.h"
#include "tal_sw_timer.h"

#ifdef __cplusplus
extern "C" {
#endif


typedef struct {
    // rf timer id
    TIMER_ID tmr_id;
    // rf timer interval 
    UINT32_T interval;
}rf_tmr_t;


VOID_T rf_tmr_start(VOID_T);
VOID_T rf_tmr_stop(VOID_T);
UINT8_T rf_tmr_init_and_start(UINT32_T interval);

#ifdef __cplusplus
}
#endif

#endif  // end _RF_TMR_H__
